<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/6/22
 * Time: 21:58
 */

namespace osc\mobile\model;


use think\Model;

class Member extends Model
{
	/**
     * 查询是否为黑名单
     * @param $uid
     * @return mixed  0为黑名单，1为正常用户
     */
    public static function is_status($username){
        return self::where('username',$username)->value('blacklist');
    }

}